package com.qianyucc.blog.model.enums;

/**
 * @author lijing
 * @e-mail 1413979079@qq.com
 * @date 2020-05-14 21:02
 * @description 不同登录平台
 */
public enum Platform {
    /**
     * QQ登录
     */
    QQ("qq", 0),
    /***
     * 码云登录
     */
    GITEE("gitee", 1);
    private String name;
    private int flag;

    public String getName() {
        return name;
    }

    public int getFlag() {
        return flag;
    }

    Platform(String name, int flag) {
        this.name = name;
        this.flag = flag;
    }
}
